<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/classes/DBHelper.class.jsp" %>
<%@ include file="/classes/CommonHelper.class.jsp" %>
<%@ include file="/classes/MD5.class.jsp" %>
<%@ include file="/classes/GUID.class.jsp" %>
<%request.setCharacterEncoding("UTF-8");%>
<%
    String reply_content = request.getParameter("reply_content") == null ? "" : request.getParameter("reply_content");
    String status = request.getParameter("status") == null ? "" : request.getParameter("status");
    String message_id = request.getParameter("message_id") == null ? "" : request.getParameter("message_id");

    String sqlstr = "update wlxj_consult set reply_content=?,status=? ,reply_time=sysdate where message_id=?";
    int count = executeUpdate(sqlstr, new Object[]{reply_content, status, message_id});
    out.clear();
    if (count > 0) {
        out.print("2");
        return;
    }
%>